import request from "@/utils/request.js";

export function updateUser(data) {
    return request({
        url: '/updateUser',
        headers: {
            isToken: true
        },
        method: 'put',
        data: data
    })
}

export function getUserInfo() {
    return request({
        url: '/getUserInfo',
        headers: {
            isToken: true
        },
        method: 'get'
    })
}